package com.itshare.video.mapper.custom;


import com.itshare.video.pojo.po.Video;
import com.itshare.video.pojo.query.VideoQueryCondition;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * @Author lyr
 * @create 2020/10/24 14:46
 */
public interface VideoMapperCustom {

    // /**
    //  * 创建视频信息
    //  * @param videoCreateBO
    //  * @return
    //  */
    // int insertVideo(VideoCreateBO videoCreateBO);


    /**
     * 首页搜索视频
     * @param queryConditon
     * @return
     */
    List<Video> selectVideoByListByCondition(/*@Param("condition") */VideoQueryCondition queryConditon);


    /**
     * 查询被举报了的视频
     * @return
     */
    List<Video> listVideoWhereBeReported();

}
